<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="head.jsp"%>
<!-- //////////////////////////////////////////////////////////////////////// -->

<!--主体内容-->
<div class="main-layout-body">
	<!--tab 切换-->
	<div class="layui-tab layui-tab-brief main-layout-tab" lay-filter="tab"
		lay-allowClose="true">
		<ul class="layui-tab-title">
			<li class="layui-this welcome">级别管理</li>
		</ul>
		<div class="layui-tab-content">
			<div class="layui-tab-item layui-show" style="background: #f5f5f5;">
				<div class="page-content-wrap">
					<form method="get"
						action="${pageContext.request.contextPath }/back/level/levellist.html">
						<div class="layui-form-item">
							<div class="layui-inline">
								<span>级别名称:</span> <input name="queryLevName" type="text"
									value="${queryLevName }">
							</div>
							<input type="hidden" name="pageIndex" value="1" /> <input
								value="查 询" type="submit" class="layui-btn layui-btn-normal">
							

					</form>
					<div class="layui-form" id="table-list">
						<table class="layui-table" lay-skin="line" cellpadding="0"
							cellspacing="0">
							<tr class="parent collapsed">
								<th width="15%">ID</th>
								<th width="30%">级别编码</th>
								<th width="30%">级别名称</th>
								<th width="25%">操作</th>
							</tr>
							<c:forEach var="level" items="${levelList }"
								varStatus="status">
								<tr id='node-1' class="parent collapsed">
									<td class="hidden-xs"><span>${level.id}</span></td>
									<td class="hidden-xs"><span>${level.levCode}</span></td>
									<td class="hidden-xs"><span>${level.levName}</span></td>
									<td>
										<div class="layui-inline">
											<a href="${pageContext.request.contextPath }/back/level/viewlevel/${level.id}"
												class="layui-btn layui-btn-mini layui-btn-normal  add-btn"
												levelid=${level.id }>
												<i class="layui-icon">&#xe654;</i>
											</a>
											<a href="${pageContext.request.contextPath }/back/level/modifylevel/${level.id}"
												class="layui-btn layui-btn-mini layui-btn-normal  edit-btn"
												levelid=${level.id }>
												<i class="layui-icon">&#xe642;</i>
											</a>
											<a href="${pageContext.request.contextPath }/back/level/dellevel.html?id=${level.id}"
												levelid=${level.id }	
												class="layui-btn layui-btn-mini layui-btn-danger del-btn">
												<i class="layui-icon">&#xe640;</i>
											</a>
										</div>
									</td>
								</tr>
							</c:forEach>
						</table>
						<input type="hidden" id="totalPageCount" value="${totalPageCount}"/>
		  				<c:import url="rollpage.jsp">
	          				<c:param name="totalCount" value="${totalCount}"/>
	          				<c:param name="currentPageNo" value="${currentPageNo}"/>
	          				<c:param name="totalPageCount" value="${totalPageCount}"/>
          				</c:import>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- //////////////////////////////////////////////////////////////////////// -->




<%@include file="foot.jsp"%>